Skip to content

[NodeTypeResolver] Add phpunit extension#1776

Merged
TomasVotruba merged 3 commits intomasterfrom
phpunit-mock-types
Jul 28, 2019
Merged

[NodeTypeResolver] Add phpunit extension#1776
TomasVotruba merged 3 commits intomasterfrom
phpunit-mock-types

Conversation

@TomasVotruba
Copy link
Copy Markdown
Member

Now $stub returns both Mock|Request compared to only Mock before

$stub = $this->getMockBuilder(Request::class)
            ->disableOriginalConstructor()
            ->getMock();

@TomasVotruba TomasVotruba merged commit d997791 into master Jul 28, 2019
@TomasVotruba TomasVotruba deleted the phpunit-mock-types branch July 28, 2019 15:49
TomasVotruba added a commit that referenced this pull request Feb 8, 2022
rectorphp/rector-src@1a9a859 [Core] Remove ClassLike_ tweak on RectifiedAnalyzer (#1776)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant